package com.wiz.service;

import java.util.List;
import java.util.Map;

import org.springframework.web.multipart.MultipartFile;

import com.wiz.to.StationCodeTO;
import com.wiz.to.StationPhotoTO;
import com.wiz.to.StationTO;
import com.wiz.vo.criteria.StationSearchCriteriaTO;



/**
 * 商品相关操作接口
 */
public interface StationService {
	
	public List<StationTO> getStationsByCriteriaTO(StationSearchCriteriaTO stationSearchCriteriaTO);
	public int getStationsCntByCriteriaTO(StationSearchCriteriaTO stationSearchCriteriaTO);
	void addStationAddImg(StationTO stationTO,MultipartFile saImg,MultipartFile cdImg,
			MultipartFile tankerImg,MultipartFile hnImg,MultipartFile CVSImg,MultipartFile WCImg,
			MultipartFile CWImg,MultipartFile repairImg)throws Exception;
	StationTO updateStationAddImg(StationTO stationTO,MultipartFile saImg,MultipartFile cdImg,
				MultipartFile tankerImg,MultipartFile hnImg,MultipartFile CVSImg,MultipartFile WCImg,
				MultipartFile CWImg,MultipartFile repairImg)throws Exception;
	 List<StationTO> getListHq();
	 StationTO getStation(String stationId);
	 Map<Integer,String> getStationPhoto(String stationId);
	 void remove(String stationId)throws Exception;
	 
	 /**保存图片*/
	 List<StationPhotoTO> saveImg(StationTO stationTO,MultipartFile saImg,MultipartFile cdImg,
				MultipartFile tankerImg,MultipartFile hnImg,
				MultipartFile CVSImg,MultipartFile WCImg,
				MultipartFile CWImg,MultipartFile repairImg)throws Exception;
	 /**生成注册微信会员二维码
	 * @throws Exception */
	 String createCode(String stationId) throws Exception;
	 List<StationCodeTO> ListCode(List<String>list)throws Exception;
	 StationCodeTO getCode(String stationId)throws Exception;
	
}
